import request from '@/router/axios';

export const getList = (current, size, params) => {
  return request({
    url: '/api/rb-oem/oem/oempolicy/oem_policy/serviceSettlementList',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}

// /* oem总分润 导出 */
// export const getExport = (params) => {
//   return request({
//     headers: {
//       "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
//     },
//     responseType: 'blob',
//     url: '/api/rb-oem/oem/all/oemprofit/pos_profit/export',
//     method: 'get',
//     params: {
//       ...params,
//     }
//   })
// }